//
//  DestinationCell.m
//  TravelNotes
//
//  Created by qianfeng on 15-7-7.
//  Copyright (c) 2015年 ZWB. All rights reserved.
//

#import "DestinationCell.h"
#import "UIImageView+WebCache.h"

@implementation DestinationCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)showDataWithModel:(DestinationsModel *)desModel {
    
        self.nameCnLabel.text = desModel.name_zh_cn;
        self.nameEnLabel.text = desModel.name_en;
        self.photoCountLabel.text = [NSString stringWithFormat:@"%@旅行地", desModel.poi_count];
        [self.imageView sd_setImageWithURL:[NSURL URLWithString:desModel.image_url] placeholderImage:[UIImage imageNamed:@""]];
}



@end
